#include <iostream>
using namespace std;

int main(){
    auto func = [](int x, int y){ return x + y ; };
    cout << func(3, 8) << endl; // 11

    auto func2 = [](int x, int y) -> int { int z = x + y; return z + x; };
    cout << func2(3, 8) << endl; // 14
}